// search form
var matn = "Nima qidiryapsiz...";

function searchfocus(obj) {
if(obj.value == matn)
obj.value = ''; 
obj.style.color = '#000000'; 
obj.style.fontStyle = 'normal'	;
}
function searchblur(obj) {
if(obj.value == '') 
obj.value = matn; 
obj.style.color = '#666'; 
obj.style.fontStyle = 'italic' 	
}

function tekshir_search() {
if(searchform.search.value == ' ' || searchform.search.value.length <= 1  || searchform.search.value == matn) {
      alert('Qidirayotgan jumlani yozing');
      return false;
    } else	return true;	
}
// search form finish

// zakaz validate scripts
function tekshir(formname) {
	if(formname.ism.value == "") { alert("ismingizni yozing"); return false}
	else if (formname.tel.value.length <= 6) { alert("Telefon raqamingizni yozing");  return false}
	else if (formname.email.value.length <= 4) { alert("Emailni yozing");  return false}
	else if (formname.adres.value == "") { alert("Manzilni yozing");  return false}
	else if (formname.antibot.value.length <= 3) { alert("Antibotni yozing");  return false}
	else { return true; }
}